🎖️GitЯра🎖️
Node / meshtastic / Meshtastic-Android / files / core / repository / src / commonMain / kotlin / org / meshtastic / core / repository / ServiceBroadcasts.kt
Displaying Raw • Download
core/repository/src/commonMain/kotlin/org/meshtastic/core/repository/ServiceBroadcasts.kt f07624be882e679affc02931dc75e8cb1594de18 (f07624be) Text, 1.54 KB
T8b949e/*
* Copyright (c) 2025-2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.core.repository
Tff7b72import T7ee787org.meshtastic.core.model.DataPacket
Tff7b72import T7ee787org.meshtastic.core.model.MessageStatus
Tff7b72import T7ee787org.meshtastic.core.model.Node
T8b949e/** Interface for broadcasting service-level events to the application. */
Tff7b72interface T56d364ServiceBroadcasts Tb4b4b4{
T8b949e/** Subscribes a receiver to mesh broadcasts. */
Tff7b72fun Td2a8ffsubscribeReceiverTb4b4b4(Te6edf3receiverNameTb4b4b4: Tffa657StringTb4b4b4, Te6edf3packageNameTb4b4b4: Tffa657StringTb4b4b4)
T8b949e/** Broadcasts received data to the application. */
Tff7b72fun Td2a8ffbroadcastReceivedDataTb4b4b4(Te6edf3dataPacketTb4b4b4: Te6edf3DataPacketTb4b4b4)
T8b949e/** Broadcasts that the radio connection state has changed. */
Tff7b72fun Td2a8ffbroadcastConnectionTb4b4b4(Tb4b4b4)
T8b949e/** Broadcasts that node information has changed. */
Tff7b72fun Td2a8ffbroadcastNodeChangeTb4b4b4(Te6edf3nodeTb4b4b4: Te6edf3NodeTb4b4b4)
T8b949e/** Broadcasts that the status of a message has changed. */
Tff7b72fun Td2a8ffbroadcastMessageStatusTb4b4b4(Te6edf3packetIdTb4b4b4: Tffa657IntTb4b4b4, Te6edf3statusTb4b4b4: Te6edf3MessageStatusTb4b4b4)
Tb4b4b4}
Served by rngit 1.5.0 - Generated in 0.05s